/*! \file BaseShader.h
 *	\brief <write description for BaseShader.h>
 *
 *	created:	2010/04/12
 *	created:	12:4:2010   16:20
 *	filename: 	c:\src\tactics-engine\libs\gd\BaseShader.h
 *	file path:	c:\src\tactics-engine\libs\gd
 *	file base:	BaseShader
 *	file ext:	h
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#ifndef _GD_BASESHADER_H_
#define _GD_BASESHADER_H_

#pragma once

#include <core/SmartPtr.h>

namespace tt{
namespace gd{

class DeviceContext;
class BaseShaderImpl;

class BaseShader : NonCopyable
{
public:
	BaseShader(const SharedPtr<BaseShaderImpl>&);
	virtual ~BaseShader();

	void apply(DeviceContext*);

protected:
	SharedPtr<BaseShaderImpl> m_impl;
};

} //namespace gd
} //namespace tt

#endif //_GD_BASESHADER_H_